package com.lyh.system.domain.resp;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.lyh.common.annotation.Excel;
import com.lyh.common.core.domain.BasePageEntity;
import com.lyh.common.enums.StoreOrderStatusEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

@ApiModel(value = "订单管理后台 返回")
@Data
public class OrderWebResq  implements Serializable {

    @ApiModelProperty(example = "商品名称")
    @Excel(name = "商品名称")
    private String name;

    @ApiModelProperty(example = "商品规格")
    @Excel(name = "商品规格")
    private String specifications;

    @ApiModelProperty(example = "首图")
    private String picture;

    @ApiModelProperty(example = "主键")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;

    @ApiModelProperty(example = "订单号")
    @Excel(name = "订单号")
    private String orderNum;

    @ApiModelProperty(example = "实付款")
    @Excel(name = "实付款")
    private BigDecimal actualPayment;

    @ApiModelProperty(example = "数量")
    @Excel(name = "数量")
    private BigDecimal goodsNum;

    @ApiModelProperty(example = "用户名")
    @Excel(name = "用户名")
    private String nickName;

    @ApiModelProperty(example = "手机号")
    @Excel(name = "手机号")
    private String phonenumber;

    @ApiModelProperty(example = "订单时间")
    @Excel(name = "订单时间")
    private String createTime;

    @ApiModelProperty(example = "支付时间")
    @Excel(name = "支付时间")
    private String payTime;

    @ApiModelProperty(example = "支付方式")
    private String paymentMethod;

    @Excel(name = "支付方式")
    @ApiModelProperty(example = "支付方式")
    private String paymentMethodName;

    @ApiModelProperty(example = "发货地址")
    @Excel(name = "发货地址")
    private String logisticsInfo;

    @ApiModelProperty(example = "状态")
    private StoreOrderStatusEnum status;

    @ApiModelProperty(example = "状态")
    @Excel(name = "状态")
    private String statusName;

    @ApiModelProperty(example = "物流编号")
    @Excel(name = "物流编号")
    private String logisticsNum;

}
